Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODShape


SetQDRegion

Mac OS

The SetQDRegion method modifies this shape to make it equivalent to the specified QuickDraw region.

void SetQDRegion (in ODRgnHandle rgn);
rgn
A non-null QuickDraw region.
DISCUSSION
After this method executes successfully, the QuickDraw region is owned by this shape; you cannot modify it or deallocate its storage.

This method calls the SetPlatformShape method to assign the QuickDraw region.

EXCEPTIONS
kODErrInvalidGraphicsSystem
The QuickDraw graphics system is not installed or available.
kODErrInvalidPlatformShape
This shape is a null region.
SEE ALSO
The ODRgnHandle type (page 884).
The ODShape::GetQDRegion method (page 640).
The ODShape::SetPlatformShape method (page 650).
Listing 2-22 on page 72 in OpenDoc Cookbook.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help